package org.yzh.protocol.commons.transform.attribute;

import io.github.yezhihao.protostar.annotation.Field;

import java.util.List;

public class BaseStation4GData {

    public static final Integer key = 93;

//    @Field(length = 1, desc = "基站个数")
    private int count;

    @Field(totalUnit = 1, desc = "4G基站")
    private List<BaseStation4G> items;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<BaseStation4G> getItems() {
        return items;
    }

    public void setItems(List<BaseStation4G> items) {
        this.items = items;
//        this.count = items == null ? 0 : items.size();
    }

    @Override
    public String toString() {
        return "BaseStation4GData{" +
                "items=" + items +
                '}';
    }
}
